import { reactive, ref } from "vue";
import { ResourceCourse, ResourceInfo, ShareType } from "../composition/types";

// export const curResource = ref<ResourceInfo>({
//     id:'',
//     overview:'',
//     title:'阿道夫按说啊阿德',
//     content:"阿萨德人12阿萨德人生自古谁无死，阿发留取丹心照汗青诸葛亮的名句，表达了他对事业的坚持和奉献",
//     creator:'张三'
// });
// export const curResourceCourse=ref({} as ResourceCourse);

export const curShareInfo=reactive<ShareType>({
    curResource:null,
    curResourceCourse:null
})